<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
	<title>jquery.addIdx 0.1</title>
	<script type="text/javascript" src="http://code.jquery.com/jquery-1.7.1.min.js"></script>
	<script type="text/javascript" src="jquery.string-0.1.js"></script>
	<style type="text/css">
	.addIdxUl{padding-top:10px;}
	li{padding:5px;float:left;cursor:pointer;border:1px solid #ccc;background:#f5f5f5;}
	</style>
</head>
<body>
<article>
    <h2>한글만 사용</h2>
    <input type="text" id="" /> <a href="#" onclick="test();return false;">확인</a>
</article>
<script type="text/javascript">
String.prototype.isKor = function(){
	return this;
};
function test(){
	var a = $("#aaa").val();
};
</script>
</body>
</html>